.header
{
  display: none;
}

/* Container for the entire product list */
.product-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; /* space between cards */
  padding: 10px;
  box-sizing: border-box;
}

/* Individual product card */
.product-card {
  max-height: auto; 
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  text-align: left;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Product image */
.product-card img {
  border: 1px solid rgba(86, 86, 86, 0.348);
  border-radius: 8px 8px 0 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 5px;
}

.product-title {
  margin: -10px 0 0 10px;
  font-size: 16px;
  padding-bottom: 4px;
  font-weight: bold;
  color: #333;
}

.product-price {
  display: none;
  color: #000000;
  font-weight: 500;
  font-size: 16px;
}

/* Buy Now link */
.product-card-link {
  margin-top: auto; /* push the link to bottom */
  padding: 0px;
  background-color: #3498db;
  text-align: center;
}
.product-card-link a {
  background-color: #4e46e5eb;
  color: white;
  text-decoration: none;
  margin-bottom: 0px;
  font-weight: 600;
  display: inline-block;
  width: 100%;
  padding: 10px 0;
  border-radius: 0 0 4px 4px;
  transition: background-color 0.3s ease;
}

.product-card-link a:hover {
  background-color: #3730a3;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
  .product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px; /* space between cards */
    padding: 8px;
    box-sizing: border-box;
  }
  .product-card img {
    width: 100%;
    height: auto;
  }
  .product-title {
    font-size: 1rem;
  }
  .product-price {
    font-size: 0.9rem;  
}
}
@media (max-width: 320px) {
  .product-container {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 5px; /* space between cards */
    padding: 5px;
  }
  .label{
   padding: 5px;
   gap: 3px;
  }
}

.label {
  margin: 0 0 0 10px;
  position: relative;
}